<template>
	<view class="container">
		<button @click="toPage('/pages/option/option?type=1')">加法</button>
		<button @click="toPage('/pages/option/option?type=2')">减法</button>
		<button @click="toPage('/pages/option/option?type=3')">乘法</button>
		<button @click="toPage('/pages/option/option?type=4')">除法</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			toPage(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss">
	.container {
		padding: 60upx;
		height: 80vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		button {
			display: block;
			width: 100%;
			margin-bottom: 20px;
			padding: 20upx;
		}
	}
</style>
